<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>商品类型列表</title>
	 <link rel="stylesheet" href="__PUBLIC__/css/index.css">
	<script src="__PUBLIC__/js/jquery-1.7.2.min.js"></script>
	<script src="__PUBLIC__/js/js.js"></script>
</head>
<body>
	<div class="wrap">
		<div class="menu_list">
					<ul>
						<li>
							<a class="action" href="{|U:'GoodsType/index'}">
								属性类型
							</a>
						</li>
						<li>
							<a href="{|U:'add',array('aid'=>$_GET[aid])}">
								添加属性
							</a>
						</li>
						
					</ul>
				</div>
		<table class="table1">
		    <thead>
			<tr>
				<td>属性ID</td>
				<td>属性名</td>
				<td>规格</td>
				<td>类型名称（商品类型）</td>
				<td>操作</td>
			</tr>
		   </thead>
		     <list from="$data" name="d">
		     	<tr>
		     		<td>{$d.ac_id}</td>
				<td>{$d.attr_name}</td>
				<td>
                                               <if value="{$d.is_spec eq 1}">
                                               	    <span style="color:red">是</span>
                                               	    <else>
                                               	    	不是 
                                               </if>
				</td>
				<td>{$d.attrClass}</td>
				<td>
					<a href="{|U:'del',array('ac_id'=>$d[ac_id])}" class="btn1">删除</a>
					<a href="{|U:'edit',array('ac_id'=>$d[ac_id])}" class="btn1">编辑</a>
				</td>
		     	</tr>
		     </list>
		</table>
	</div>
</body>
</html>















